import request from '@/utils/request'


//体测计划
export function getPlan() {
    return request({
        url: '/tc/tcname/getExamUion',
        method: 'get'
    })
}
//提交测试成绩
export function tcsjOrig(data) {
    return request({
        url: '/tc/tcsj/addSj',
        method: 'post',
        
        data: data
    })
}

//获取测试项目列表
export function getProject(query) {
  return request({
    url: '/tc/project/list',
    method: 'get',
    params: query
  })
}
//运动记录-练习
export function getTrainingList(query) {
  return request({
    url: '/tc/training/list',
    method: 'get',
    params: query
  })
}
//运动记录-考试
export function getPlanList(query) {
  return request({
    url: '/tc/tcsj/list',
    method: 'get',
    params: query
  })
}
//获取排行榜
export function getTcStudentRank(query) {
  return request({
    url: '/tc/tcOverview/getTcStudentRankF',
    method: 'get',
    params: query
  })
}


//获取全部年级
export function getAllGrade(query) {
  return request({
    url: '/tc/sagMap/list',
    method: 'get',
    params: query
  })
}


//获取班级tc/class/5
export function getClassList(query) {
  return request({
    url: '/tc/class/list',
    method: 'get',
    params: query
  })
}

//获取考试计划列表
export function getTcnameList(query) {
  return request({
    url: '/tc/tcname/list',
    method: 'get',
    params: query
  })
}
 
